function GuiContainerWorkers() {
  
};

GuiContainerWorkers.instance = function(prefix, produces) {
  var gui = { edit: document.getElementById(prefix + 'edit_button'),
              users: []
            };
  for (var i = 0, il = produces.length; i < il; i++) {
    gui.users[gui.users.length] = GuiContainerWorkers._user(prefix + '_' + i);
  }
  return gui;
};

GuiContainerWorkers._user = function(prefix) {
  return { title: document.getElementById(prefix + '_title_div'),
           worker: document.getElementById(prefix + '_worker_div'),
           estimates: document.getElementById(prefix + '_estimates_div'),
           extras: document.getElementById(prefix + '_extras_div'),
           travel: document.getElementById(prefix + '_travel_div')
         }
};
